projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a1b05e
)
* xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*
author
Jan Djärv
<jan.h.d@swipnet.se>
Fri, 11 Aug 2006 07:30:56 +0000
(07:30 +0000)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Fri, 11 Aug 2006 07:30:56 +0000
(07:30 +0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 4203411e8883985539064147c0a65f66cd7bf164..6fb9ee28f4204797015e465771abafbb36e7a209 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-10584,6
+10584,11
@@
x_term_init (display_name, xrm_option, resource_name)
dpyinfo->cut_buffers_initialized = 0;
+ dpyinfo->x_dnd_atoms_size = 8;
+ dpyinfo->x_dnd_atoms_length = 0;
+ dpyinfo->x_dnd_atoms = xmalloc (sizeof (*dpyinfo->x_dnd_atoms)
+ * dpyinfo->x_dnd_atoms_size);
+
connection = ConnectionNumber (dpyinfo->display);
dpyinfo->connection = connection;